filter
{dplyr}
Filter out rows of a data frame according to logical vector
is.na
{base}
Check if a value is NA/elements of vector are NA
which
{base}
return indexes of TRUE entries of a logical vector
seq
{base}
Create a sequence
ggsave
{ggplot2}
Saves the last ggplot or a specified ggplot object to a file
pnorm
{base}
Returns the cumulative distribution function (CDF) of the normal distribution
group_tt
{tinytable}
Grouping in tinytable
order
{base}
Get indexes that will sort a vector
plot
{graphics}
Generic function from base R to produce a plot
factor
{base}
Create a factor
setwd
{base}
Set Working Directory
head
{utils}
Show first 5 rows of a data frame
data.frame
{base}
Create a data.frame from vectors
quantile
{stats}
Obtain empirical quantiles of a vector
max
{base}
Get maximum of a vector
var
{stats}
Calculate variance
read_excel
{readxl}
Read an Excel file
binomial
{base}
Family argument in glm()
names
{base}
Retrieve names of a list/vector
expression
{base}
Used in plots to add symbols to axes
predict
{stats}
Predict Probability
rm
{base}
Remove objects
dnorm
{stats}
Density distribution for the normal distribution
bar
{base}
Used for annotations, such as “expression(paste(”-“,bar(y)))”
length
{base}
Returns number of elements in an object
min
{base}
Get minimum of a vector
sd
{stats}
Get standard deviation of a vector
lm
{base}
Fit a linear model
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
median
{stats}
Get median of a vector
as.data.frame
{base}
Functions to check if an object is a data frame, or coerce it if possible.
as.character
{base}
Coerce a vector to character
log
{base}
log (default base = e)
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
par
{graphics}
Set parameters of the plotting device
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
mean
{base}
Get mean of a vector
read.csv
{utils}
Read a csv file to data frame. Specify stringsAsFactors = FALSE to keep all string columns as characters
library
{base}
Load an R package
sample
{base}
Takes a sample of the specified size
nrow
{base}
Get number of rows of a data frame
range
{base}
Return range of values
complete.cases
{stats}
Find Complete Cases
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
ungroup
{dplyr}
Resolve grouping created with “group_by”
c
{base}
Combine values/vectors into a vector
rnorm
{base}
Generate random numbers from a normal distribution
summary
{base}
Obtain summary statistics or detailed regression output
tibble
{tibble}
A modern data frame from the tidyverse
ordered
{dplyr}
Create an ordered factor
nobs
{gdata}
Compute the number of non-missing observations
cut
{base}
Convert Numeric to Factor
str
{utils}
Get the structure of an R object
modelsummary
{modelsummary}
Creates regression and data tables
glm
{base}
Fits generalized linear models
list
{base}
Create a list object
ifelse
{base}
Return a or b depending on the value of test
mutate
{dplyr}
Modify/create a column in a data frame
The end!